﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;
    import flash.utils.*;

    public class IFashionPrxHelper extends RMIProxyObject implements IFashionPrx
    {
        public static const NAME:String = "Message.Game.IFashion";

        public function IFashionPrxHelper()
        {
            name = "IFashion";
            return;
        }// end function

        public function advance_async(param1:AMI_IFashion_advance, param2:Boolean, param3:int, param4:Dictionary) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("advance");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeBool(param2);
            _loc_7.writeInt(param3);
            DictStrIntHelper.write(_loc_7, param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function changeShape_async(param1:AMI_IFashion_changeShape, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("changeShape");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function changeShapeCard_async(param1:AMI_IFashion_changeShapeCard, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("changeShapeCard");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function dress_async(param1:AMI_IFashion_dress, param2:int, param3:String, param4:String) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("dress");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeString(param3);
            _loc_7.writeString(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function getAdvanceReward_async(param1:AMI_IFashion_getAdvanceReward, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("getAdvanceReward");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function hideOrShow_async(param1:AMI_IFashion_hideOrShow, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("hideOrShow");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function openComponent_async(param1:AMI_IFashion_openComponent, param2:Boolean, param3:int, param4:Dictionary) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("openComponent");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeBool(param2);
            _loc_7.writeInt(param3);
            DictStrIntHelper.write(_loc_7, param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

    }
}
